package net.zjitc.mapper;

import net.zjitc.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/3/26 11:08
 */

public interface UserMapper {
    List<User> findAll();

    User selectUser(@Param("username") String username, @Param("password")String password);

    User selectById(int id);
}
